/**
 * LY.com Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package quorum;

/**
 * @author bixiao.wang
 * @version $Id: Node, v 0.1 2021/9/18 14:35 bixiao.wang Exp $
 */
public class Node<T> {
    private String nodeId;
    private int status;
    private T routeInfo;

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public T getRouteInfo() {
        return routeInfo;
    }

    public void setRouteInfo(T routeInfo) {
        this.routeInfo = routeInfo;
    }
}
